import request from "@/utils/request";

// 获取全名营销订单列表
export function listMkOrder(query) {
  return request({
    url: "/order/mkOrder/list",
    method: "get",
    params: query,
  });
}

// 全名营销订单导出
export function exportMkOrder(query) {
  return request({
    url: `/order/mkOrder/export`,
    method: "get",
    params: query,
  });
}


// 获取全名营销订单详情
export function getMkOrderById(query) {
  return request({
    url: `/order/mkOrder/${query.id}`,
    method: "get",
  });
}

// 获取全名营销订单统计
export function statistics(query) {
  return request({
    url: `/order/mkOrder/statistics`,
    method: "get",
    params: query,
  });
}
